home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / ip / dns / rovers / ProblemManager / ProblemManager.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-29  |  1.0 KB  |  30 lines

  1. /*    *****************************************************************
  2.      *    ProblemManager.h - ProblemManager Routines        *
  3.     *****************************************************************
  4. */
  5.  
  6.  
  7. /*    Problem_Manager( Cmd, ProbType, Node, UniqueID )
  8.         where Cmd=                    */
  9. #define ADD_PROBLEM        1   
  10. #define ADD_PRIMARY_PROBLEM    2    
  11. #define DELETE_PROBLEM      3 
  12. #define UPDATE_PROBLEM      4 
  13. #define CLAIM_PROBLEM          5 
  14. #define CHECK            6 
  15.  
  16. /* Note: ADD Problem and DELETE Problem are straight forward.  ADD_PRIMARY
  17.     will automatically DELETE all problems associated with this UniqueID
  18.     that are not of ProbType.   That way, you can ADD_PRIMARY problems,
  19.     that will automatically delete secondary problems for you.
  20.  
  21. */
  22. /* Cmd is an int, all other parms are char *.                 */
  23.  
  24. int Problem_Manager();    /* Problem_Manager
  25.             (Cmd,TypeProblem,nodename,UniqueID,StatusLine) */
  26.             /* Returns non-zero if file has changed */
  27. int TestNode();        /* Test Machine?  TestNode( nodename ) */
  28.             /* public: long ProblemFileLastUpdated */
  29. #include "ProblemFileio.h"
  30.